/*
 * @(#)BizAudit.java 2020年1月9日 下午5:16:02
 * Copyright 2020 zmr, Inc. All rights reserved. 
 * PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.ruoyi.activiti.domain;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Transient;

import lombok.Data;
import lombok.experimental.Accessors;
import tk.mybatis.mapper.annotation.KeySql;

/**
 * <p>File：BizAudit.java</p>
 * <p>Title: 审批记录</p>
 * <p>Description:</p>
 * <p>Copyright: Copyright (c) 2020 2020年1月9日 下午5:16:02</p>
 * <p>Company: zmrit.com </p>
 * @author zmr
 * @version 1.0
 */
@Data
@Accessors(chain = true)
public class BizAudit
{
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long     id;

    private String   taskId;

    private Integer  result;

    private String   comment;

    private String   procDefKey;

    private String   procName;

    private String   applyer;

    private String   auditor;

    private Long     auditorId;

    private Date     createTime;

    @Transient
    private String   procInstId;

    @Transient
    private Long     businessKey;

    @Transient
    private String[] taskIds;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public BizAudit setTaskId(String taskId) {
        this.taskId = taskId;
        return this;
    }

    public Integer getResult() {
        return result;
    }

    public BizAudit setResult(Integer result) {
        this.result = result;
        return this;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getProcDefKey() {
        return procDefKey;
    }

    public BizAudit setProcDefKey(String procDefKey) {
        this.procDefKey = procDefKey;
        return this;
    }

    public String getProcName() {
        return procName;
    }

    public BizAudit setProcName(String procName) {
        this.procName = procName;
        return this;
    }

    public String getApplyer() {
        return applyer;
    }

    public BizAudit setApplyer(String applyer) {
        this.applyer = applyer;
        return this;
    }

    public String getAuditor() {
        return auditor;
    }

    public BizAudit setAuditor(String auditor) {
        this.auditor = auditor;
        return this;
    }

    public Long getAuditorId() {
        return auditorId;
    }

    public BizAudit setAuditorId(Long auditorId) {
        this.auditorId = auditorId;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }

    public Long getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(Long businessKey) {
        this.businessKey = businessKey;
    }

    public String[] getTaskIds() {
        return taskIds;
    }

    public void setTaskIds(String[] taskIds) {
        this.taskIds = taskIds;
    }
}
